﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TransEchoViewer
{
    public interface ITransPort
    {
        string PortName { get; set; }
        int BaudRate { get; set; }
        int BytesToRead { get; }

        void Close();
        void DiscardInBuffer();
        void Open();
        void Read(byte[] buf, int v, int length);
    }
}
